package com.stu.serive;

import com.stu.Dto.DormitoryRepairDTO;
import com.stu.pojo.DormitoryRepair;
import com.stu.vo.DormitoryRepairVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DormitoryRepairService {

    /**
     * 添加寝室维修信息
     * @param dormitoryRepairDTO
     */
    void insertDormitoryRepair(DormitoryRepairDTO dormitoryRepairDTO);

    /**
     * 查询寝室维修结果
     * @return
     */
    List<DormitoryRepairVo> selectDormitoryRepair();

    /**
     * 查询所有宿舍维修申请
     * @return
     */
    List<DormitoryRepairVo> dormitoryRepairApplicationAll();
}
